package com.jxaummd.mushroom.core.util.tool.glide;

public class ImageUtil {


    public static String getImageAdreee(String imageAdress,String prefixString){
        if(imageAdress!=null&&!imageAdress.equals("")){
            if(imageAdress.startsWith("http://")||imageAdress.startsWith("https://")){

            }else if(imageAdress.startsWith("oss://")){
                imageAdress =prefixString+imageAdress.replaceAll("oss://","");
            }else {
                //视为加了
                imageAdress = prefixString+imageAdress;
            }
            return imageAdress;

        }
        return null;
    }
}
